package com.example.deepclonetest.myTest;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Wheel implements Cloneable, Serializable {
    String name;
    int size;

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
